package com.probox.common.entity.domain.wechat;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.probox.common.core.annotation.Excel;

/**
 * 公众号返回参数对象 wechat_allwork_return
 *
 * @author zsy
 * @date 2021-06-12
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("wechat_allwork_return")
public class WechatAllworkReturn implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 昵称
     */
    @Excel(name = "昵称")
    private String nickName;
    /**
     * 头像
     */
    @Excel(name = "头像")
    private String headImg;

    /**
     * 原始 ID
     */
    @Excel(name = "原始 ID")
    private String userName;
    /**
     * 主体名称
     */
    @Excel(name = "主体名称")
    private String principalName;

    /**
     * 用以了解功能的开通状况（0代表未开通，1代表已开通）
     */
    @Excel(name = "用以了解功能的开通状况", readConverterExp = "0=代表未开通，1代表已开通")
    private String businessInfo;
    /**
     * 二维码图片的 URL
     */
    @Excel(name = "二维码图片的 URL")
    private String qrcodeUrl;

    /**
     *小程序类型
     */
    @Excel(name = "小程序类型")
    private String miniProgramInfo;

    /**
     *授权第三方平台权限集
     */
    @Excel(name = "授权第三方平台权限集")
    private String funcInfo;

    public WechatAllworkReturn(String nickName, String headImg, String userName, String principalName, String businessInfo, String qrcodeUrl, String miniProgramInfo, String funcInfo) {
        this.nickName = nickName;
        this.headImg = headImg;
        this.userName = userName;
        this.principalName = principalName;
        this.businessInfo = businessInfo;
        this.qrcodeUrl = qrcodeUrl;
        this.miniProgramInfo = miniProgramInfo;
        this.funcInfo = funcInfo;
    }
}
